package template;

/**
 * @Author: Ma JiBin
 * @Email: 1423553596@qq.com
 * @Date: 2018/9/14 09:29
 * @Description: 继承Game类的板球类
 */
public class Cricket extends Game {
    /**
     * 游戏初始化方法
     */
    @Override
    void initialize() {
        System.out.println("Cricket Game Initialized! Start playing.");
    }

    /**
     * 开始游戏方法
     */
    @Override
    void startPlay() {
        System.out.println("Cricket Game Started. Enjoy the game!");
    }

    /**
     * 结束游戏方法
     */
    @Override
    void endPlay() {
        System.out.println("Cricket Game Started. Enjoy the game!");
    }
}
